package com.hnx.admin.aurora.system.service;

import com.hnx.admin.aurora.system.domain.param.sysConfig.form.SysConfigForm;
import com.hnx.admin.aurora.system.domain.param.sysConfig.query.SysConfigQuery;
import com.hnx.admin.aurora.web.json.ResultJson;

public interface SysConfigService {
    boolean selectCaptchaEnabled();
    String selectConfigByKey(String configKey);

    ResultJson selectConfigById(String configId);

    ResultJson selectConfigList(SysConfigQuery config);

    ResultJson insertConfig(SysConfigForm config);
    ResultJson deleteConfigByIds(String[] configIds);

    ResultJson updateConfig(SysConfigForm config);

    ResultJson resetConfigCache();
}
